package com.example.oj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@TableName("judger_status")
@Data
public class JudgerStatus {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    private Integer uid;
    private String title;
    private String username;
    private String language;
    private Integer time;
    private Integer memory;
    private String code;
    private Integer length;
    private Integer result;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date submittime;
}
